Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
@Serializable
data class BatchResponse(val status: Int, val body: JsonObject? = null)
Link copied to clipboard
class TokenLoginBuilder(initialToken: String?)

Functions

Link copied to clipboard
inline fun PocketbaseClient.login(initialToken: String? = null, setup: TokenLoginBuilder.() -> Unit = {})

Logs into the Pocketbase client with the specified token. This is required before making any API requests that require authentication.

Link copied to clipboard

Clears the current auth token from the auth store.